<template>
    <van-tabbar v-model="active" active-color="rgb(55,167,98)" route>
        <van-tabbar-item replace to="/home" icon="bill">明细</van-tabbar-item>
        <van-tabbar-item replace to="/data" icon="clock">统计</van-tabbar-item>
        <van-tabbar-item replace to="/setting" icon="setting">设置</van-tabbar-item>
    </van-tabbar>
</template>

<script setup>
import { ref } from 'vue'

const active = ref(0)
</script>

<style lang="less" scoped></style>